
module.exports = [
  // save pres
  {
    url: '/vue-element-admin/pres/save',
    type: 'post',
    response: config => {
      const body  = config.body
      return {
        code: 200,
        data: body
      }
    }
  },

  // user logout
  {
    url: '/vue-element-admin/user/logout',
    type: 'post',
    response: _ => {
      return {
        code: 200,
        data: 'success'
      }
    }
  }
]
